package com.kayo.specimen.dao;

import com.kayo.specimen.model.User;
import com.kayo.specimen.model.view.UserView;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    List<UserView> select(@Param("code") String code, @Param("name") String name, @Param("email") String email, @Param("order") String order);

    int update(User... users);

    int delete(String... userId);

    int insert(User... users);
}
